package com.atguigu;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;

import java.util.List;

@SpringBootTest
public class test {
    @Autowired
    private RedisTemplate redisTemplate;
    @Test
    public void test01(){
        redisTemplate.opsForValue().set("un","jim1");
    }

    @Test
    public void test02(){

        System.out.println(redisTemplate.opsForValue().get("a"));
    }

    @Test
    public void test03(){

    }


}
